package com.example.demo.Service.Impl;

import com.example.demo.Annoation.MyHandlerAnnotation;
import com.example.demo.Service.MyHandler;
import org.springframework.stereotype.Component;

@Component
@MyHandlerAnnotation(value="1")
public class FirstHandlerImpl implements MyHandler {

    @Override
    public String handler() {
        return "FirstHandlerImpl";
    }
}
